Skip to content

ReactiveList.IndexOf(T) method

Defined in

Type: ReactiveList Namespace: ReactiveList.Reactive.Collections Assembly: ReactiveList.Reactive.dll

Applies to

net11.0, net10.0, net47, net471, net472, net48, net481

Overloads

  1. public int IndexOf(T item)

  2. public int IndexOf(object? value)

1. Overload

public int IndexOf(T item)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IList<T>. The member doesn't override them on this type.

Summary: Determines the index of a specific item in the IList (opens in a new tab).

Parameters

NameTypeDescription
itemTThe object to locate in the IList (opens in a new tab).

Returns: int (opens in a new tab) -- The index of item if found in the list; otherwise, -1.

2. Overload

public int IndexOf(object? value)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IList. The member doesn't override them on this type.

Summary: Determines the index of a specific item in the IList (opens in a new tab).

Parameters

NameTypeDescription
valueobject? (opens in a new tab)The object to locate in the IList (opens in a new tab).

Returns: int (opens in a new tab) -- The index of value if found in the list; otherwise, -1.